package cn.chenmanman.system.service;

import cn.chenmanman.model.system.SysRole;
import cn.chenmanman.model.system.SysUser;
import cn.chenmanman.model.vo.SysUserQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author 17383
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-11-03 19:37:50
*/
public interface SysUserService extends IService<SysUser> {

    IPage<SysUser> selectPage(Page<SysUser> sysUserIpage, SysUserQueryVo sysUserQueryVo);

    void userDisable(Integer id, Integer status);


    SysUser getUserInfoByUserName(String username);

    Map<String, Object> getUserInfo(String username);
}
